<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title><?php include_slot('title', 'Jobeet - Your best job board') ?></title>
    <link rel="shortcut icon" href="/favicon.ico" />
    <?php include_javascripts() ?>
    <?php include_stylesheets() ?>
  </head>
  <body>
    <div id="container">
        <div id="header">
            <div class="content">
                <h1><a href="<?php echo url_for('@homepage') ?>">
                    <img src="<?php image_path('logo.jpg') ?>" alt="Jobeet Board" />
                    </a>
                </h1>
            </div>

            <div id="sub_header">
                <div class="post">
                    <h2>Ask for people</h2>
                    <div>
                        <a href="<?php echo url_for('job/index') ?>">Post a job</a>
                    </div>
                </div>

                <div class="search">
                    <h2>Ask for a Job</h2>
                    <form action="" method="get">
                        <input type="text" name="keywords"  id="search_keywords"/>
                        <input type="submit" value="search" />
                        <div class="help">
                            Enter some keywords (city, country, position, ...)
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>

    <div id="content">
        <?php if ($sf_user->hasFlash('notice')) : ?>
            <div class="flash_notice">
                <?php echo $sf_user->getFlash('notice') ?>
            </div>
        <?php endif; ?>

        <?php if ($sf_user->hasFlash('error')) : ?>
            <div class="flash_notice">
                <?php echo $sf_user->getFlash('error') ?>
            </div>
        <?php endif; ?>

        <div class="content">
            <?php echo $sf_content ?>
        </div>

        <div id="footer">
            <div class="content">
                <span class="symfony">
                    powered by <a href="http://www.symfony-project.org/images/symfony.gif" alt="symfony-framework" >
                                 <img src="<?php echo image_path('symfony.gif') ?>" />
                               </a>
                </span>
                <ul>
                    <li><a href="">About Jobeet</a></li>
                    <li class="feed"><a href="">Full feed</a></li>
                    <li><a href="">Jobeet API</a></li>
                    <li class="last"><a href="">Affiliates</a></li>
                </ul>
            </div>
        </div>
    </div>
  </body>
</html>
